package com.sgb.kjwl.model.entity.transport;

import com.sgb.kjwl.model.entity.self.OrderQuoteEntity;

import java.util.List;

/**
 * Describe:
 * Author:  yangLei
 * Date:    2021/8/31
 */
public class QuotedListOwnerViewEntity {
    //报价总数
    private Integer orderReceivingCount;
    //接单总数
    private Integer orderQuoteCount;
    //请求数据类型 -1 全部 0报价 2接单
    private String searchType;

    private boolean isRefresh;
    /**
     * 货主视角 综合参数 全部 单独类型都会存在
     */
    private PagesVOBean pagesVO;

    /**
     * 报价列表数据
     */
    private List<OrderQuoteEntity> orderQuoteList;
    /**
     * 接单列表数据
     */
    private List<OrderQuoteEntity> orderReceivingList;


    private Vo vo;

    /**
     * 报价统计数据信息类
     */
    public static class Vo{
        private int p1;
        private int p2;
        private int p3;
        private int p4;
        private int p5;
        private int p6;

        public int getP1() {
            return p1;
        }

        public void setP1(int p1) {
            this.p1 = p1;
        }

        public int getP2() {
            return p2;
        }

        public void setP2(int p2) {
            this.p2 = p2;
        }

        public int getP3() {
            return p3;
        }

        public void setP3(int p3) {
            this.p3 = p3;
        }

        public int getP4() {
            return p4;
        }

        public void setP4(int p4) {
            this.p4 = p4;
        }

        public int getP5() {
            return p5;
        }

        public void setP5(int p5) {
            this.p5 = p5;
        }

        public int getP6() {
            return p6;
        }

        public void setP6(int p6) {
            this.p6 = p6;
        }
    }

    public static class PagesVOBean {
        private Integer pageNumber;
        private Integer pageSize;
        private Integer totalPage;
        private Integer totalRow;
        private Boolean firstPage;
        private Boolean lastPage;
        private List<OrderQuoteEntity> list;

        public Integer getPageNumber() {
            return pageNumber;
        }

        public void setPageNumber(Integer pageNumber) {
            this.pageNumber = pageNumber;
        }

        public Integer getPageSize() {
            return pageSize;
        }

        public void setPageSize(Integer pageSize) {
            this.pageSize = pageSize;
        }

        public Integer getTotalPage() {
            return totalPage;
        }

        public void setTotalPage(Integer totalPage) {
            this.totalPage = totalPage;
        }

        public Integer getTotalRow() {
            return totalRow;
        }

        public void setTotalRow(Integer totalRow) {
            this.totalRow = totalRow;
        }

        public Boolean getFirstPage() {
            return firstPage;
        }

        public void setFirstPage(Boolean firstPage) {
            this.firstPage = firstPage;
        }

        public Boolean getLastPage() {
            return lastPage;
        }

        public void setLastPage(Boolean lastPage) {
            this.lastPage = lastPage;
        }

        public List<OrderQuoteEntity> getList() {
            return list;
        }

        public void setList(List<OrderQuoteEntity> list) {
            this.list = list;
        }
    }


    public Integer getOrderReceivingCount() {
        return orderReceivingCount;
    }

    public void setOrderReceivingCount(Integer orderReceivingCount) {
        this.orderReceivingCount = orderReceivingCount;
    }

    public Integer getOrderQuoteCount() {
        return orderQuoteCount;
    }

    public void setOrderQuoteCount(Integer orderQuoteCount) {
        this.orderQuoteCount = orderQuoteCount;
    }

    public PagesVOBean getPagesVO() {
        return pagesVO;
    }

    public void setPagesVO(PagesVOBean pagesVO) {
        this.pagesVO = pagesVO;
    }

    public List<OrderQuoteEntity> getOrderQuoteList() {
        return orderQuoteList;
    }

    public void setOrderQuoteList(List<OrderQuoteEntity> orderQuoteList) {
        this.orderQuoteList = orderQuoteList;
    }

    public List<OrderQuoteEntity> getOrderReceivingList() {
        return orderReceivingList;
    }

    public void setOrderReceivingList(List<OrderQuoteEntity> orderReceivingList) {
        this.orderReceivingList = orderReceivingList;
    }

    public String getSearchType() {
        if (searchType == null)
            return "null";
        return searchType;
    }

    public void setSearchType(String searchType) {
        this.searchType = searchType;
    }

    public boolean isRefresh() {
        return isRefresh;
    }

    public void setRefresh(boolean refresh) {
        isRefresh = refresh;
    }

    public Vo getVo() {
        return vo;
    }

    public void setVo(Vo vo) {
        this.vo = vo;
    }
}
